package com.jinke.api.modules.app.request;

import com.jinke.api.modules.app.enums.OrderStatus;
import com.jinke.api.modules.base.request.BasePageListRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class OrderListRequest extends BasePageListRequest {
    @ApiModelProperty("订单号")
    private List<String> orderNos;
    @ApiModelProperty("运单号")
    private List<String> trackingNos;
    @ApiModelProperty("批次号")
    private List<String> batchNos;
    @ApiModelProperty("开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime beginTime;
    @ApiModelProperty("结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
    private List<OrderStatus> status;
    private List<String> emails;
    private Integer userId;


    @ApiModelProperty("审核开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime auditBeginTime;


    @ApiModelProperty("审核结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime auditEndTime;

    @ApiModelProperty("平台号")
    private List<String> platformNos;
}
